package com.example.model.entity.system;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.model.entity.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "系统用户实体类")
@TableName("sys_user")
public class SysUser extends BaseEntity {

	@TableId
	@ApiModelProperty(value = "唯一标识")
	private Long id;

	@TableField("username")
	@ApiModelProperty(value = "用户名")
	private String username;

	@TableField("password")
	@ApiModelProperty(value = "密码")
	private String password;

	@TableField("name")
	@ApiModelProperty(value = "昵称")
	private String name;

	@TableField("phone")
	@ApiModelProperty(value = "手机号码")
	private String phone;

	@TableField("avatar")
	@ApiModelProperty(value = "图像")
	private String avatar;

	@TableField("description")
	@ApiModelProperty(value = "描述")
	private String description;

	@TableField("status")
	@ApiModelProperty(value = "状态（1：正常 0：停用）")
	private Integer status;

}